#!/usr/bin/env python
# -*- coding: UTF-8 -*-
"""
@File    ：base_response.py
@Author  ：平
@Date    ：2025/9/28 10:34 
"""
from typing import Any

from pydantic import BaseModel, Field


class BaseResponse(BaseModel):
    code: int = Field(default=200, description="状态码")
    message: str = Field(default="成功", description="提示信息")
    data: Any = Field(default= None, description="数据")
